<?php
	class Product {
		private $id;
		private $name;
		private $description;
		private $minQuantity;
		private $currentQuantity;
		private $barCode;
		private $price;
		private $active;
		private $providerId;
		
		public function __construct($id = null,
									$name = null,
									$description = null,
									$minQuantity = null,
									$currentQuantity = null,
									$barCode = null,
									$price = null,
									$active = null,
									$providerId = null) {
			$this->id = $id;
			$this->name = $name;
			$this->description = $description;
			$this->minQuantity = $minQuantity;
			$this->currentQuantity = $currentQuantity;
			$this->barCode = $barCode;
			$this->price = $price;
			$this->active = $active;
			$this->providerId = $providerId;
		}
		
		public function getId () {return $this->id;}
		public function getName () {return $this->name;}
		public function getDescription () {return $this->description;}
		public function getMinQuantity () {return $this->companyId;}
		public function getCurrentQuantity () {return $this->productPrice;}
		public function getBarCode () {return $this->description;}
		public function getPrice () {return $this->companyId;}
		public function getActive () {return $this->productPrice;}
		public function getProviderId () {return $this->providerId;}
		
		public function setId ($id) {$this->id = $id;}
		public function setName ($name) {$this->name = $name;}
		public function setDescription ($description) {$this->description = $description;}
		public function setMinQuantity ($minQuantity) {$this->minQuantity = $minQuantity;}
		public function setCurrentQuantity ($currentQuantity) {$this->currentQuantity = $currentQuantity;}
		public function setBarCode ($barCode) {$this->barCode = $barCode;}
		public function setPrice ($price) {$this->price = $price;}
		public function setActive ($active) {$this->active = $active;}
		public function setProviderId ($providerId) {$this->providerId = $providerId;}
	}
?>